AdjustWindowRectEx2 renamed to SafeAdjustWindowRectEx. Don't override all
authorTor Lillqvist <tml@src.gnome.org>
Sun, 30 May 1999 02:15:33 +0000 (02:15 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 30 May 1999 02:15:33 +0000 (02:15 +0000)
commit16d002d074ef55142d2eb9740bed4ed2ad4a8e01
tree308129a63f7969cc2741f0e1dc3a5ba2eaf5bffc
parente060cbf62a0aa54b56b0e536d2a78490f33cb171
AdjustWindowRectEx2 renamed to SafeAdjustWindowRectEx. Don't override all

* gdk/win32/gdkwindow.c: AdjustWindowRectEx2 renamed to
  SafeAdjustWindowRectEx. Don't override all calls to
  AdjustWindowRectEx by it, but use it only in two places: When
  creating a new top-level window and when moving a top-level
  window.

Use screen coordinate rectangle, not client rectangle, in
  gdk_window_move. Thus SafeAdjustWindowRectEx will do its job only
  when we try to place a window so that the decoration (mainly,
  title bar) isn't visible.

These changes fix the bug that showed up for instance as the
  GIMP's saved top-level windows moving right and down (by an amount
  equal to the window decoration) for each session. This bug showed
  up also in testgtk's "Saved Position".

gdk_window_resize also redone a bit.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/win32/gdkwindow-win32.c
gdk/win32/gdkwindow.c